home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 May / PCWMAY06.iso / Software / Freeware / First Page 2006 3.00 / fp2006-final-3.00-setup.exe / {app} / Iscripts / Message Dialogs / alert.izs < prev    next >
Text File  |  2005-09-27  |  2KB  |  91 lines

  1. <!NOWIZARD>
  2.  
  3. <!TITLE>Alert
  4.  
  5. <!/TITLE>
  6.  
  7. <!DESCRIPTION> If you're just looking for a quick way to tell your visitor something, use this JavaScript alert! When they put their cursor on the link, they get the message in the form of a JavaScript alert!
  8.  
  9. <!/DESCRIPTION> 
  10.  
  11. <!CATEGORY>Messages<!/CATEGORY>
  12.  
  13. <!SCRIPT>
  14. <!-- START OF SCRIPT -->
  15.  
  16.  
  17. <!-- HOW TO INSTALL ALERT:
  18.  
  19.    1.  Paste the coding into the HEAD of your HTML document
  20.    2.  Put last coding into the BODY section of document  -->
  21.  
  22. <!-- STEP ONE: Copy this code into the HEAD of your HTML document  -->
  23.  
  24. <HEAD>
  25.  
  26. <SCRIPT LANGUAGE="JavaScript">
  27.  
  28.  
  29. <!--  Begin
  30. function drawAlert () {
  31. alert ("This is an alert message that can say whatever you want!");
  32. }
  33. // End -->
  34. </SCRIPT>
  35.  
  36. <!-- STEP TWO: Put this code into the BODY of your HTML document  -->
  37.  
  38. <BODY>
  39.  
  40. <CENTER>
  41. <FORM>
  42. <input type=button value="JavaScript Alert!  Click Here!" onClick="drawAlert()">
  43. </FORM>
  44. </CENTER>
  45.  
  46.  
  47.  
  48. <!-- END OF SCRIPT -->
  49. <!/SCRIPT>
  50.  
  51. <!PREVIEW>
  52. <!-- START OF SCRIPT -->
  53.  
  54.  
  55.  
  56. <!-- HOW TO INSTALL ALERT:
  57.  
  58.    1.  Paste the coding into the HEAD of your HTML document
  59.    2.  Put last coding into the BODY section of document  -->
  60.  
  61. <!-- STEP ONE: Copy this code into the HEAD of your HTML document  -->
  62.  
  63. <HEAD>
  64.  
  65. <SCRIPT LANGUAGE="JavaScript">
  66.  
  67.  
  68. <!--  Begin
  69. function drawAlert () {
  70. alert ("This is an alert message that can say whatever you want!");
  71. }
  72. // End -->
  73. </SCRIPT>
  74.  
  75. <!-- STEP TWO: Put this code into the BODY of your HTML document  -->
  76.  
  77. <BODY>
  78.  
  79. <CENTER>
  80. <FORM>
  81. <input type=button value="JavaScript Alert!  Click Here!" onClick="drawAlert()">
  82. </FORM>
  83. </CENTER>
  84.  
  85.  
  86.  
  87. <!-- END OF SCRIPT -->
  88. <!/PREVIEW>
  89.  
  90. <!RELATED>NONE<!/RELATED>
  91.